using System.Web.UI;
using System.ComponentModel;
using System.Web.UI.HtmlControls;

namespace Library.WebControls.SimpleTreeView {
	[ToolboxItem(false)]
	[DesignTimeVisible(false)]
	public class SpTreeNodeItemTemplate : HtmlGenericControl, IDataItemContainer {
		public SpTreeNodeItemTemplate()
			: base("div") {
			Attributes["class"] = "tvsptext";
		}
		public object DataItem { get; internal set; }

		public int DataItemIndex { get; internal set; }

		public int DisplayIndex { get; internal set; }


		private int _itemLevelIndex = -1;
		public int ItemLevelIndex {
			get { return _itemLevelIndex; }
			internal set { _itemLevelIndex = value; }
		}


	}
}
